package com.manage.server.service;

import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileStorageService {

    public String storeAvatar(MultipartFile file,Integer userId) throws IOException;

    public Resource loadAvatar(String filename);

}
